home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / f1 / cimb.arj / GLOBAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-03  |  1.6 KB  |  74 lines

  1. /*==============================================================================
  2.  
  3. FICHERO: GLOBAL.H
  4.  
  5. AUTOR: ANTONIO LADESA JURADO
  6.  
  7. FECHA: 24/6/94
  8.  
  9. DESCRIPCION:
  10.  
  11.     Fichero de cabecera global
  12.  
  13.     Declara los tipos y constantes globales a todo el programa.
  14.  
  15. ==============================================================================*/
  16.  
  17. #define FALSO 0
  18. #define CIERTO 1
  19.  
  20.     /* ancho máximo las imágenes */
  21. #define ANCHO_MAXIMO 1024
  22.     /* número de formatos gráficos */
  23. #define NUM_FORMATOS 7
  24.  
  25.     /* formatos de ficheros soportados */
  26. typedef enum {MACPAINT,PCX,GIF,TIFF,IMG,TGA,BMP,OTRO} formatos;
  27.     /* modos de video */
  28. typedef enum {VIDEOmono,VIDEOega,VIDEOvga} modos;
  29.  
  30.     /* opciones */
  31. typedef enum
  32. {
  33.     /* no opcion */
  34. NOOPC = -1,
  35.  
  36.     /* opciones principales */
  37. OPCargar,OPVer,OPSalvar,OPNuevo,OPReflejoH,OPReflejoV,OPByN,OPVideoInverso,
  38. OPGris,OPColores,OPImprimir,OPVision,OPMemoria,OPEscalar,OPInformar,OPSalir,
  39.  
  40.     /* directorio y discos */
  41. OPdirarr,OPdirabj,OPdriveA,OPdriveB,OPdriveC,
  42.  
  43.     /* formatos */
  44. OPMAC,OPPCX,OPGIF,OPTIF,
  45. OPIMG,OPTGA,OPBMP,
  46.  
  47.     /* operaciones con ficheros DOS */
  48. OPBorrar,OPRenombrar,
  49.  
  50.     /* escalado */
  51. OPanchoMas,OPanchoMenos,OPaltoMas,OPaltoMenos,OPEscalado,
  52.  
  53.     /* tipos de memoria */
  54. OPXMS,OPEMS,OPVMS,
  55.  
  56.     /* impresión */
  57. OPImpresion,OPEpson,OPPostScript,OPdestinoFichero,OPdestinoImpresora,
  58.  
  59.     /* dithering */
  60. OPBayer,OPFloyd,OPStucki,OPBurkes,
  61.  
  62.     /* confirmación */
  63. OPCancelar,OPAceptar,
  64.  
  65.     /* lista de ficheros */
  66. OPlista,
  67.  
  68.     /* fichero actual */
  69. OPfichero,
  70.  
  71.     /* fichero DOS */
  72. OPficheroDOS,
  73.  
  74. } OPCIONES;